add_circt_dialect_library(CIRCTSVTransforms
  GeneratorCallout.cpp
  HWCleanup.cpp
  HWStubExternalModules.cpp
  HWLegalizeNames.cpp
  HWMemSimImpl.cpp
  PrettifyVerilog.cpp
  SVExtractTestCode.cpp

  DEPENDS
  CIRCTSVTransformsIncGen

  LINK_LIBS PUBLIC
  CIRCTComb
  CIRCTHW
  CIRCTSV
  MLIRIR
  MLIRPass
  MLIRTransformUtils
)
